﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;
using W.Common.Enum;

namespace W.Warehouse.Domain
{
    /// <summary>
    /// 出库管理表
    /// </summary>
    public class Outbound:BaseModel
    {
        /// <summary>
        /// 出库id
        /// </summary>
        [Key]
        public int Outboundid{ get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        public string? OutboundNo { get; set; }
        /// <summary>
        /// 出库单类型
        /// </summary>
        public string? OutboundType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociateNumber { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? CustomerNo { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 客户联系人
        /// </summary>
        public string? CustomerContact { get; set; }
        /// <summary>
        /// 客户联系方式
        /// </summary>
        public string? CustomerPhone { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? SingleMaker { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? SingleTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? OutboundRemarks { get; set; }
        /// <summary>
        /// 出库单状态
        /// </summary>
        public AuditStatus? OutboundState { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
         /// </summary>
        public DateTime? ExamineTime { get; set; }
        /// <summary>
        /// 送货时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }

        public string? VendorNo { get; set; }

        public string? VendorName { get;set; }

        public string? VendorContact { get; set; }

        public string? VendorPhone { get; set; }
    }
}
